home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / ddraw1b.bpr < prev    next >
Encoding:
Text File  |  1998-02-09  |  4.2 KB  |  160 lines

  1. # ---------------------------------------------------------------------------
  2. !if !$d(BCB)
  3. BCB = $(MAKEDIR)\..
  4. !endif
  5.  
  6. # ---------------------------------------------------------------------------
  7. # IDE SECTION
  8. # ---------------------------------------------------------------------------
  9. # The following section of the project makefile is managed by the BCB IDE.
  10. # It is recommended to use the IDE to change any of the values in this
  11. # section.
  12. # ---------------------------------------------------------------------------
  13.  
  14. VERSION = BCB.03
  15. # ---------------------------------------------------------------------------
  16. PROJECT = ddraw1b.exe
  17. OBJFILES = ddraw1b.obj Main.obj
  18. RESFILES = ddraw1b.res
  19. RESDEPEN = $(RESFILES) Main.dfm
  20. LIBFILES =
  21. LIBRARIES = VCL35.lib
  22. SPARELIBS = VCL35.lib
  23. DEFFILE =
  24. PACKAGES = 
  25. # ---------------------------------------------------------------------------
  26. PATHCPP = .;
  27. PATHASM = .;
  28. PATHPAS = .;
  29. PATHRC = .;
  30. DEBUGLIBPATH = $(BCB)\lib\debug
  31. RELEASELIBPATH = $(BCB)\lib\release
  32. # ---------------------------------------------------------------------------
  33. CFLAG1 = -Od -Hc -w -Ve -r- -a4 -k -y -v -vi- -c -b- -w-par -w-inl -Vx -tW
  34. CFLAG2 = -I..\utils;$(BCB)\include;$(BCB)\include\vcl -H=$(BCB)\lib\vcl30.csm
  35. CFLAG3 =
  36. PFLAGS = -U..\utils;$(BCB)\lib\release;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) \
  37.   -I..\utils;$(BCB)\include;$(BCB)\include\vcl -v -JPHN -M
  38. RFLAGS = -i..\utils;$(BCB)\include;$(BCB)\include\vcl 
  39. AFLAGS = /i$(BCB)\include /i$(BCB)\include\vcl /mx /w2 /zd
  40. LFLAGS = -L..\utils;$(BCB)\lib\release;$(BCB)\lib\obj;$(BCB)\lib;$(RELEASELIBPATH) -aa \
  41.   -Tpe -x -v
  42. IFLAGS =
  43. # ---------------------------------------------------------------------------
  44. ALLOBJ = c0w32.obj sysinit.obj $(OBJFILES)
  45. ALLRES = $(RESFILES)
  46. ALLLIB = $(LIBFILES) $(LIBRARIES) import32.lib cp32mt.lib
  47. # ---------------------------------------------------------------------------
  48. !ifdef IDEOPTIONS
  49.  
  50. [Version Info]
  51. IncludeVerInfo=0
  52. AutoIncBuild=0
  53. MajorVer=1
  54. MinorVer=0
  55. Release=0
  56. Build=0
  57. Debug=0
  58. PreRelease=0
  59. Special=0
  60. Private=0
  61. DLL=0
  62. Locale=1033
  63. CodePage=1252
  64.  
  65. [Version Info Keys]
  66. CompanyName=
  67. FileDescription=
  68. FileVersion=1.0.0.0
  69. InternalName=
  70. LegalCopyright=
  71. LegalTrademarks=
  72. OriginalFilename=
  73. ProductName=
  74. ProductVersion=1.0.0.0
  75. Comments=
  76.  
  77. [Debugging]
  78. DebugSourceDirs=$(BCB)\source\vcl
  79.  
  80. [Parameters]
  81. RunParams=
  82. HostApplication=
  83.  
  84. !endif
  85.  
  86. # ---------------------------------------------------------------------------
  87. # MAKE SECTION
  88. # ---------------------------------------------------------------------------
  89. # This section of the project file is not used by the BCB IDE.  It is for
  90. # the benefit of building from the command-line using the MAKE utility.
  91. # ---------------------------------------------------------------------------
  92.  
  93. .autodepend
  94. # ---------------------------------------------------------------------------
  95. !if !$d(BCC32)
  96. BCC32 = bcc32
  97. !endif
  98.  
  99. !if !$d(DCC32)
  100. DCC32 = dcc32
  101. !endif
  102.  
  103. !if !$d(TASM32)
  104. TASM32 = tasm32
  105. !endif
  106.  
  107. !if !$d(LINKER)
  108. LINKER = ilink32
  109. !endif
  110.  
  111. !if !$d(BRCC32)
  112. BRCC32 = brcc32
  113. !endif
  114. # ---------------------------------------------------------------------------
  115. !if $d(PATHCPP)
  116. .PATH.CPP = $(PATHCPP)
  117. .PATH.C   = $(PATHCPP)
  118. !endif
  119.  
  120. !if $d(PATHPAS)
  121. .PATH.PAS = $(PATHPAS)
  122. !endif
  123.  
  124. !if $d(PATHASM)
  125. .PATH.ASM = $(PATHASM)
  126. !endif
  127.  
  128. !if $d(PATHRC)
  129. .PATH.RC  = $(PATHRC)
  130. !endif
  131. # ---------------------------------------------------------------------------
  132. $(PROJECT): $(OBJFILES) $(RESDEPEN) $(DEFFILE)
  133.     $(BCB)\BIN\$(LINKER) @&&!
  134.     $(LFLAGS) $(IFLAGS) +
  135.     $(ALLOBJ), +
  136.     $(PROJECT),, +
  137.     $(ALLLIB), +
  138.     $(DEFFILE), +
  139.     $(ALLRES)
  140. !
  141. # ---------------------------------------------------------------------------
  142. .pas.hpp:
  143.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  144.  
  145. .pas.obj:
  146.     $(BCB)\BIN\$(DCC32) $(PFLAGS) {$< }
  147.  
  148. .cpp.obj:
  149.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  150.  
  151. .c.obj:
  152.     $(BCB)\BIN\$(BCC32) $(CFLAG1) $(CFLAG2) $(CFLAG3) -n$(@D) {$< }
  153.  
  154. .asm.obj:
  155.     $(BCB)\BIN\$(TASM32) $(AFLAGS) $<, $@
  156.  
  157. .rc.res:
  158.     $(BCB)\BIN\$(BRCC32) $(RFLAGS) -fo$@ $<
  159. # ---------------------------------------------------------------------------
  160.